home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20021006-20030409 / 000317_metceed@yahoo.com_Mon Feb 17 18:03:05 EST 2003.msg < prev    next >
Text File  |  2020-01-01  |  3KB  |  67 lines

  1. Article: 14113 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!arclight.uoregon.edu!logbridge.uoregon.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
  3. From: metceed@yahoo.com (Minty)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Running multiple kermit scripts on one connection
  6. Date: 17 Feb 2003 14:58:58 -0800
  7. Organization: http://groups.google.com/
  8. Lines: 49
  9. Message-ID: <775a2ab0.0302171458.f8f21f9@posting.google.com>
  10. NNTP-Posting-Host: 134.178.30.65
  11. Content-Type: text/plain; charset=ISO-8859-1
  12. Content-Transfer-Encoding: 8bit
  13. X-Trace: posting.google.com 1045522738 16674 127.0.0.1 (17 Feb 2003 22:58:58 GMT)
  14. X-Complaints-To: groups-abuse@google.com
  15. NNTP-Posting-Date: 17 Feb 2003 22:58:58 GMT
  16. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14113
  17.  
  18. I'm trying to run multiple kermit scripts over one dial-up connection.
  19. More specifically:
  20.  
  21. I am writing a program that will automatically send an alert. One the
  22. the ways it sends an alert is via an sms message. I have an account
  23. with an pstn-to-sms gateway provider. So I can dial-up this gateway
  24. modem, and using the TAP protocol, I can send sms messages.
  25.  
  26. What I want to do is control, within my program, the 2 main aspects of
  27. the sending process. The 'loggin on' part, and the 'sending messages
  28. part'. I already have a kermit script that does both. I want to
  29. seperate those to parts and call them seperately from my program. The
  30. reason is that there could be many messages going out for the one
  31. connection. This is decided at run-time. Another reason is so that the
  32. program can know which alerts got sent and which didn't.
  33.  
  34. So, if for example I'm sending out 2 alerts, the steps would be as
  35. follows:
  36.  
  37. 1-The program would run a kermit script, that opens connection from
  38. local pc to local modem, dials the gateway modem and logs on, as per
  39. the TAP protocol. The script would be called with the gateway provider
  40. number as parameter.
  41.  
  42. 2-Then the program would run another kermit script, that sends
  43. messages as per TAP protocol, with the message and sms number as
  44. parameters, noting the exit code.
  45.  
  46. 3-It would again call the same send script with another message and
  47. another number as parameter, again noting the exit code.
  48.  
  49. 4-It calls another scipt, that logs off the connection to the gateway
  50. modem, and also closes connection from local pc to local modem.
  51.  
  52. Now, the problem I have noted with running multiple kermit scripts, is
  53. that at the end of running one script, it closes the connection to the
  54. gateway modem and also the connection from the local pc to the local
  55. modem.
  56.  
  57. I'm using the latest kermit 95 version on a Windows 2000 machine. 
  58.  
  59. Anyone have any ideas on how I could do this? I'm sure it's only a
  60. setting I would have to set with kermit, but I haven't found it.
  61.  
  62. One idea I did try was to manually open an instance of kermit and open
  63. connection to local modem manually. Then call the other scripts to use
  64. this connection, but they wouldn't use it.
  65.  
  66. Thanks in advance for any help forthcoming.
  67.